<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>教师列表</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${ctxPath}/assets/libs/layui/css/layui.css"/>
  <link rel="stylesheet" href="${ctxPath}/assets/css/style.css"/>
  <link rel="stylesheet" href="${ctxPath}/assets/css/global.css"/>
</head>
<body>
    <!-- 顶部 -->
    <:include file="../common/header.html"/>
	<div class="layui-container">
	   <div style="margin:12px; height: 180px;background-color: #FFF;padding: 20px;border: 1px solid #f3f3f3;border-radius: 4px;box-shadow: 0 34px 20px -24px rgba(0,36,100,0.06);">
	       <form class="layui-form">
			   <div class="searchBox">
				   <i class="layui-icon layui-icon-search" style="font-size: 30px;"></i>
				   <input type="text" id="sea_text" class="searchInput search-inp" autocomplete="off" placeholder="请输入您要查找的老师">
				   <button type="button" class="layui-btn layui-btn-normal" onclick="Search()">查询</button>
			   </div>

<!--		       <div style="margin-top: 10px;width: 100%;height: 20px;">-->
<!--		           <ul>-->
<!--		              <span style="float: left;margin-left: 15px;width: 70px;">师资名单：</span>-->
<!--		              <:for items="${teacher}" var="item">-->
<!--		              <li style="float:left;margin-left: 30px;"><a class="layui-btn layui-btn-primary layui-btn-xs" onclick="Detail(${item.id})">${item.nickName}</a></li>-->
<!--		              </:for>-->
<!--		           </ul>-->
<!--		       </div>-->

	       </form>
	   </div>
	</div>

	<div class="layui-container">
		<div class="layui-row">
			<span style="float: left;margin-left: 15px;width: 70px;">师资名单：</span>
			<div class="layui-col-sm12" id="demoCardList1"></div>
		</div>
	</div>

	<!-- 项目模板 -->
	<script type="text/html" id="demoCardItem1">
		<div class="layui-col-md3 datagrid-item" onclick="Detail({{d.id}})">
			<div class="project-list-item">
				<div class="project-list-item-body">
					<h2>{{d.nickName}}</h2>
				</div>
			</div>
		</div>
	</script>

    <!-- 底部 -->
	<:include file="../common/footer.html"/>
	<:include file="../common/js.html"/>
	<script>
	    layui.config({
		  version: new Date().getTime()
		  ,base: '${ctxPath}/assets/module/'
		}).extend({
			codes: 'teacher'
		}).use('teacher');
	</script>
</body>
</html>